package com.shenmazong.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shenmazong.entity.TbArticle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shenmazong.vo.ArticleVo;

import java.util.List;

/**
 * <p>
 * 技术文章表   ——> John Mapper 接口
 * </p>
 *
 * @author 还怕大雨吗
 * @since 2021-09-18
 */
public interface TbArticleMapper extends BaseMapper<TbArticle> {

    IPage<ArticleVo> selectbyArticle(Page<TbArticle> tbArticlePage, Object title, Object type, Object teachid, Object userName);

    List<ArticleVo> synces();
}
